package com.yoso.domain.jpa;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author shizejin
 * @date 2022/8/8
 * @description:
 */
@Entity
@Table(name = "t_order")
@Data
public class OrderEntity {
    @Id
    private String id;
    private String code;
    @Column(name = "buyer_name")
    private String buyerName;
}
